$colors:#333333 #fff #ccc #CC9756 #5c5c5c;
$df:flex;
$dib:inline-block;
$fsb:space-between;
$fsa:space-around;
$w:1090px 36px 12px;
$n:none;
*{
    margin: 0;
    padding: 0;
    text-decoration: $n;
    list-style: $n;
}
header section{
    background-color:nth( $colors,1);
    height: nth($w,2);
}
header section article{
    width: nth($w,1);
    margin: 0 auto;
    display: $df;
    justify-content: $fsb;
}
header section article main{
    display: $df;
    justify-content: $fsa;
    
}
header section article main div a{
    font:{
        size:12px;}
    line-height: nth($w,2);
    color:nth($colors,3);
    padding: 0 5px;
    border:{
        left:1px solid nth($colors,5);
    }
}
header section article main div:nth-child(1) a{
    border: 0;
}
header section article main div .i-nt{
    color: nth($colors,3);
    font:{
        size:5px;
    }  
}

header main article{
    width: nth($w,1);
    margin: 0 auto;
    position: relative;
    height: 140px;
}
header main article .i-logo{
    position: absolute;
    top: 24px;
    left: 0;
    display: $dib;
    width: 212px;
    height: 60px;
    text-indent: -9999px;
    background: url(http://yanxuan-static.nosdn.127.net/hxm/yanxuan-component/p/20170601/style/img/x1/icon-yxtop-s1ec226323c-5e4f7cf5a5.png?imageView&type=webp) no-repeat 0 -298px;
}

header main article .i-cart{
    float: right;
    margin-top: 26px;
    margin-left: 49px;
    width: 132px;
    height: 36px; 
    line-height: 38px;
    border: 1px solid nth($colors,4); 
    border-radius: 18px; 
    font-size:14px; 
    color: nth($colors,4);
    display: flex;
    align-items: center;
}
header main article .i-cart i:nth-child(1){
    display: $dib;
    height: 18px;
    width: 18px;
    background: url(http://yanxuan-static.nosdn.127.net/hxm/yanxuan-component/p/20170601/style/img/x1/icon-yxtop-s1ec226323c-5e4f7cf5a5.png?imageView&type=webp) no-repeat 0 -148px;
    margin-left: 22px;
}
header main article .i-cart span{
    margin: 0 5px;
}
header main article .i-cart i:nth-child(3){
    display: $dib;
    height: 19px;
    width: 19px;
    background: url(http://yanxuan-static.nosdn.127.net/hxm/yanxuan-component/p/20170601/style/img/x1/icon-yxtop-s1ec226323c-5e4f7cf5a5.png?imageView&type=webp) no-repeat 0 -51px;
    color:#000;
    font-style: normal;
    text-align: center;
    line-height: 20px;
}

header main article .i-search{
    float: right;
    width: 550px;
    margin-top: 26px;
    position: relative;
}
header main article .i-search .i-search-left{
    float: left;
}
header main article .i-search input{
    width: 410px;
    height: 36px;
    border: 1px solid nth($colors,4);
    color: nth($colors,3);
    border-radius: 19px 0 0 19px;
    outline:none;
    padding-left:30px;
    float: left;
}
header main article .i-search .i-search-btn{
    display: block; 
    width: 90px;
    height: 38px; 
    text-align: center; 
    line-height: 38px; 
    background-color: #cc9756; 
    border-radius: 0 19px 19px 0;
    color: #fff;
    float: left;
}
header main article .i-search .i-search-note{
    font-size: 14px;
    position: absolute;
    top: 9px;
    left: 30px;
    color: nth($colors,3);
}
header main article .i-search .i-search-left i{
    background: url(http://yanxuan-static.nosdn.127.net/hxm/yanxuan-component/p/20170601/style/img/x1/icon-yxtop-s1ec226323c-5e4f7cf5a5.png?imageView&type=webp) no-repeat 0 -518px;
    display: $dib;
    height: 14px;
    width: 14px;
    position: absolute;
    top: 12px;
    left: 12px;
}

header main article .i-search>ul{
    float: left;
    margin: 10px 0 18px;
}
header main article .i-search>ul li{
    padding: 0 10px; 
    border-right: 1px solid nth($colors,3);
    float: left;
}
header main article .i-search>ul li:last-child{
    border: 0;
}
header main article .i-search>ul li a{
    display: block; 
    height: 12px;
    color: nth($colors,3); 
    font-size: 12px; 
    line-height: 12px;
}
header main article .i-nav{
    position: absolute;
    top: 120px;
   
}
header main article .i-nav>ul{
    width: nth($w , 1 );
    position: relative;
    text-align: center;
    height: 500px;
    background-color: #fff;
}
header main article .i-nav>ul>li{
    width: 90px;
    float: left;   
    font-weight: bolder;
}
header main article .i-nav>ul>li:hover{
    color: nth($colors,4);
}
header main article .i-nav>ul>li:hover>ul>li{
    display: block;
}
header main article .i-nav>ul>li>ul{
    width: nth($w,1);
    margin-top: 20px;
    position: absolute;
    left: 0;

}
header main article .i-nav>ul>li>ul>li{
    width: 120px;
    display: none;
    float: left;
    font-size: 20px;
    font-weight: bold;
    color: #000;
}
header main article .i-nav>ul>li>ul>li>ul{
    width: 130px;
    text-align: center;
    // display: none;
}
header main article .i-nav>ul>li>ul>li>ul>li{
    width: 120px;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    font-weight: normal;
    color: #000;
}
